// Lex analyser
#include "common.h"
#include <stdio.h>
#include <stdbool.h>

#define TOKEN_BUFFER_SIZE 64

typedef struct {
    TokenType type;
    char* str_value;
    int int_value;
} Token;

typedef enum {
    START,
    INID, INNUM,
    DONE
} State;

static FILE* file = NULL;

bool inputFromFile(char* filename);
Token nextToken();
